package com.ccdc.cbpc.bigdata.server.demo.service.impl;

import com.ccdc.cbpc.bigdata.server.demo.dao.DemoTabDao;
import com.ccdc.cbpc.bigdata.server.demo.entity.DemoTab;
import com.ccdc.cbpc.bigdata.server.demo.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    private DemoTabDao demoTabDao;

    @Override
    public void insert(DemoTab demoTab) {
        demoTabDao.insertSelective(demoTab);
    }
}
